package io.renren.modules.project.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.modules.project.dao.ProjectLineInfoDao;
import io.renren.modules.project.entity.ProjectLineInfoEntity;
import io.renren.modules.project.service.ProjectLineInfoService;



@Service("projectLineInfoService")
public class ProjectLineInfoServiceImpl implements ProjectLineInfoService {
	@Autowired
	private ProjectLineInfoDao projectLineInfoDao;
	
	@Override
	public ProjectLineInfoEntity queryObject(String id){
		return projectLineInfoDao.queryObject(id);
	}
	
	@Override
	public List<ProjectLineInfoEntity> queryList(Map<String, Object> map){
		return projectLineInfoDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return projectLineInfoDao.queryTotal(map);
	}
	
	@Override
	public void save(ProjectLineInfoEntity projectLineInfo){
		projectLineInfoDao.save(projectLineInfo);
	}
	
	@Override
	public void update(ProjectLineInfoEntity projectLineInfo){
		projectLineInfoDao.update(projectLineInfo);
	}
	
	@Override
	public void delete(String id){
		projectLineInfoDao.delete(id);
	}
	
	@Override
	public void deleteBatch(String[] ids){
		projectLineInfoDao.deleteBatch(ids);
	}

	@Override
	public List<ProjectLineInfoEntity> listAll() {
		return projectLineInfoDao.listAll();
	}

}
